package com.mentaleye.dal.dao;


import com.mentaleye.dal.model.Students;
import com.mentaleye.dal.model.StudentsExample;

import java.util.List;
import java.util.Map;


public interface StudentsDao {
	
	boolean insertData(Students data);
	
	boolean insertByList(List<Students> dataList);
	
	boolean updateData(Students data);
	
    boolean updateDataBySelective(Students data,StudentsExample example);

    boolean updateStateByMap(Map<String,Object> map);
    
	boolean deleteByExample(StudentsExample example);
	
    List<Students> getListByExample(StudentsExample example);
	 
    List<Map<String,Object>> getListByMap(Map<String, Object> map);
    
    /**
     * @param map
     * @return
     */
    List<Students> selectStuByMap(Map<String, Object> map);

    List<Students> selectListByState(Integer state);
    
    
}
